#ifndef MYFLOWER_H
#define MYFLOWER_H

#include <QPushButton>
#include <QTimer>
class MyFlower : public QPushButton
{
    Q_OBJECT
public:
    //explicit MyFlower(QWidget *parent = nullptr);

    MyFlower(QString btnImg);


    int posX;
    int posY;
    bool flag;

    void changeFlag();
    QTimer *timer1;
    QTimer *timer2;

    bool IsAnimation = false;

    bool isWin;
signals:

public slots:
};

#endif // MYFLOWER_H
